package Model;

public class Upper {

    private int upperStart;
    private int upperEnd;

    public Upper(Square start, Square end) {
        upperStart = start.getNumber();
        upperEnd = end.getNumber();
    }

    public Upper() {
        upperStart = (int) Math.random() * 99 + 1;
        upperEnd = (int) Math.random() * 99 + 1;
    }

    public int getEnd() {
        return upperEnd;
    }

    public int getStart() {
        return upperStart;
    }
}//End class Upper

